From 12ae09506ec12507cd260acd5799f7b6133fc33e Mon Sep 17 00:00:00 2001 From: "kaf24@firebug.cl.cam.ac.uk" Date: Sun, 29 Jan 2006 10:49:38 +0100 Subject: [PATCH] Export the hypercall_page symbol to modules, otherwise they cannot be loaded. Signed-off-by: Keir Fraser --- linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c | 3 +++ linux-2.6-xen-sparse/arch/xen/x86_64/kernel/setup.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c b/linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c index df8c72221f..17ea5bab96 100644 --- a/linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c +++ b/linux-2.6-xen-sparse/arch/xen/i386/kernel/setup.c @@ -68,6 +68,9 @@ static struct notifier_block xen_panic_block = { xen_panic_event, NULL, 0 /* try to go last */ }; +extern char hypercall_page[PAGE_SIZE]; +EXPORT_SYMBOL(hypercall_page); + int disable_pse __initdata = 0; /* diff --git a/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/setup.c b/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/setup.c index 2e20185ab3..37defef008 100644 --- a/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/setup.c +++ b/linux-2.6-xen-sparse/arch/xen/x86_64/kernel/setup.c @@ -75,6 +75,9 @@ extern struct edid_info edid_info; shared_info_t *HYPERVISOR_shared_info = (shared_info_t *)empty_zero_page; EXPORT_SYMBOL(HYPERVISOR_shared_info); +extern char hypercall_page[PAGE_SIZE]; +EXPORT_SYMBOL(hypercall_page); + /* Allows setting of maximum possible memory size */ unsigned long xen_override_max_pfn; -- 2.30.2